package com.sinocare.project.report.service.serviceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sinocare.project.common.domain.PercentPass;
import com.sinocare.project.common.domain.SccReprot;
import com.sinocare.project.common.domain.SccResult;
import com.sinocare.project.common.domain.Store;
import com.sinocare.project.common.domain.vo.SccMedicalResultVo;
import com.sinocare.project.report.dao.SccResultMapper;
import com.sinocare.project.report.service.SccResultService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SccResultServiceImpl extends ServiceImpl<SccResultMapper, SccResult> implements SccResultService {
   @Resource
   private SccResultMapper sccResultMapper;

    @Override
    public List<SccResult> queryResult(SccMedicalResultVo resultVo) {
        return sccResultMapper.queryResult(resultVo);
    }

    @Override
    public List<Store> selectStoreName() {
        return sccResultMapper.selectStoreName();
    }

    @Override
    public List<Store> selectsubStoreName(String storeCode) {
        return sccResultMapper.selectsubStoreName(storeCode);
    }

    @Override
    public List<SccResult> selectResult(String storeCode) {
        return sccResultMapper.selectResult(storeCode);
    }

    @Override
    public List<SccResult> selectCount(String storeCode) {
        return sccResultMapper.selectCount(storeCode);
    }

    @Override
    public List<PercentPass> selecthg(String storeCode) {
        return sccResultMapper.selecthg(storeCode);
    }

    @Override
    public List<Integer> selectRs2(SccMedicalResultVo resultVo) {
        return sccResultMapper.selectRs2(resultVo);
    }

    @Override
    public List<PercentPass> queryReprot(String storeCode) {
        return sccResultMapper.queryReprot(storeCode);
    }

    @Override
    public List<PercentPass> selectRl(String storeCode) {
        return sccResultMapper.selectRl(storeCode);
    }


}
